/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pojo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 *
 * @author beryl
 */
public class LotteryDrawHistory implements java.io.Serializable  {

    private Integer drawid;
    private Date drawdate;
    private User winner;
    private Integer prize;
    private Set tickets = new HashSet(0);

    public LotteryDrawHistory() {
    }

    public LotteryDrawHistory(Integer drawid, Date drawdate, Integer prize) {
        this.drawid = drawid;
        this.drawdate = drawdate;
        this.prize = prize;
    }

    public Date getDrawdate() {
        return drawdate;
    }

    public void setDrawdate(Date drawdate) {
        this.drawdate = drawdate;
    }

    public Integer getDrawid() {
        return drawid;
    }

    public void setDrawid(Integer drawid) {
        this.drawid = drawid;
    }

    public Integer getPrize() {
        return prize;
    }

    public void setPrize(Integer prize) {
        this.prize = prize;
    }

    public Set getTickets() {
        return tickets;
    }

    public void setTickets(Set tickets) {
        this.tickets = tickets;
    }

    public User getWinner() {
        return winner;
    }

    public void setWinner(User winner) {
        this.winner = winner;
    }
}
